/*
 * Copyright (c) 2017, Li Bo/Alex Lee All rights reserved.
 * 
 * http://www.libo4dream.club/
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 
package com.hyts.fscan.domain;


import com.hyts.fscan.config.ScannerConfig;

import java.util.List;

/**
 * @ClassName: Directory
 * @Description: 目录结构域对象
 * @author: LiBo/Alex Lee
 * @date: 2017年9月27日 上午12:51:26
 * @email: alexlibochn@china-pui.com.cn/alex.link@foxmail.com
 */
public class Directory {

	
	 /**
	 * @fieldName: fileName
	 * @fieldType: String
	 * @Description: 指定文件名称
	 */
	private String fileName;
	
	 /**
	  * @fieldName: directoryPath
	  * @fieldType: String
	  * @Description: 目录路径操作
	  */
	private String directoryPath = ScannerConfig.DEFAULT_FILE_SCAN_DIRCTORY_PATH;
	 
	 /**
	  * @fieldName: maxScanNum
	  * @fieldType: Integer
	  * @Description: 最大扫描数目
	  */
	private Integer maxScanNum = ScannerConfig.DEFAULT_FILE_SCAN_MAX_SIZE;
	
	/**
	 * @fieldName: excludeFileName
	 * @fieldType: List<String>
	 * @Description: 过滤文件名称
	 */
	private List<String> excludeFileName;
	
	/**
	 * @fieldName: excludeFileExtName
	 * @fieldType: List<String>
	 * @Description: 过滤文件扩展名称
	 */
	private List<String> excludeFileExtName;
	
	/**
	 * @fieldName: isBlur
	 * @fieldType: boolean
	 * @Description: 是否支持模糊搜索:默认不支持模糊扫描
	 */
	private boolean isBlur = false;

	
	
	public String getDirectoryPath() {
		return directoryPath;
	}

	public void setDirectoryPath(String directoryPath) {
		this.directoryPath = directoryPath;
	}

	public Integer getMaxScanNum() {
		return maxScanNum;
	}

	public void setMaxScanNum(Integer maxScanNum) {
		this.maxScanNum = maxScanNum;
	}

	public List<String> getExcludeFileName() {
		return excludeFileName;
	}

	public void setExcludeFileName(List<String> excludeFileName) {
		this.excludeFileName = excludeFileName;
	}

	public List<String> getExcludeFileExtName() {
		return excludeFileExtName;
	}

	public void setExcludeFileExtName(List<String> excludeFileExtName) {
		this.excludeFileExtName = excludeFileExtName;
	}

	public boolean isBlur() {
		return isBlur;
	}

	public void setBlur(boolean isBlur) {
		this.isBlur = isBlur;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
}
